//
//  CatogryHeaderTitleView.m
//  project
//
//  Created by lanou on 15/10/26.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "CatogryHeaderTitleView.h"

@implementation CatogryHeaderTitleView

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        _headerImage = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, kWidth, 10)];
        _headerImage.backgroundColor = [[UIColor alloc]initWithRed:245/255.0 green:245/255.0 blue:245/255.0 alpha:1];
        [self addSubview:_headerImage];
        
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 20, 40, 20)];
//        _titleLabel.backgroundColor = [UIColor yellowColor];
        [self addSubview:_titleLabel];
    }
    return self;
}

@end
